package com.cmccgz.udacs_landlord_webapp.update;

public class ServerUrl {

	// public static String WEBSERVER = "183.232.65.102" ;
	public static String WEBSERVER = AppConfig.WEBSERVER;
	public static int WEBPORT = 8181;
	public static final String HOST = "http://" + WEBSERVER + ":" + WEBPORT;
	public static final String PATH = "portal";
	public static final String SERVER = HOST + "/" + PATH + "/api/";

	/** 下载数据库URL */
	public static final String COMPANY_ZIP_URL = SERVER + "token";

	/** 创建分组 **/
	public static final String CREATE_GROUP = SERVER + "createPersonalGroup";
	/** 创建分组 **/
	public static final String CREATE_GROUP_zip = SERVER + "createPersonalGroupzip";
	/** 修改组名 **/
	public static final String MOD_PERSONAL_GROUP = SERVER + "modPersonalGroup";
	/** 删除个人群组 **/
	public static final String MOD_DELETE_PERSONAL_GROUP = SERVER + "deletePersonalGroup";
	/** 删除群组成员 **/
	public static final String DEL_GROUP_MEMBER = SERVER + "deleteGroupMember";
	/** 添加群组成员 **/
	public static final String ADD_GROUP_MEMBER = SERVER + "addGroupMember";
	/** 获取群组成员 **/
	public static final String GET_GROUP_MEMBER = SERVER + "getGroupMember";
	/** 获取个人群组 **/
	public static final String GET_PERSONAL_GROUP = SERVER + "getPersonalGroup";
	// 获取个人名片的信息
	public static final String COMPANY_USER_CARD = SERVER + "getUserCard";
	/** 编辑成员信息 **/
	public static final String MOD_GROUP_MEMBER = SERVER + "modGroupMember";
	/** 获取群组及成员 **/
	public static final String GET_GROUP_AND_MEMBER = SERVER + "getAllGroupNMember";
	/** 获取安装状态 **/
	public static final String GET_CLIENT_INSTALL_STATUS = SERVER + "getClientInstallStatus";
	/** 图片服务器地址 **/
	public static final String IMAGE_HOST = HOST + "/" + PATH + "/";
	/** 增量更新企业通讯录地址 */
	public static final String SYNC_COMPANY = SERVER + "getOrgAndUserSyncData";
	/** 客户通讯录数据下载地址 */
	public static final String CLIENT_DATA_URL = SERVER + "getKehuByMobileZip";

	/** 获取用户域url **/
	public static final String GET_DOMIAN_HOST_URL = "http://" + WEBSERVER + ":8080/apppush/GetHomeDomain";

	// ================
	/** 上传地址 **/
	public static final String PCENTER_UPLOADRESOURCEURL = HOST + "/portal/api/upload";
	/** 动态发布 **/
	public static final String PCENTER_PUBLISHPOST = HOST + "/portal/api/publishPost";

	/** 获取主页帖子列表 */
	public static final String COMMENTS_POST = HOST + "/portal/api/getPostList";
	/** 获取帖子详情的评论列表 */
	public static final String DETAIL_COMMENTS_POST = HOST + "/portal/api/getComment";
	/** 获取帖子详情 */
	public static final String DETAIL_INFO_COMMENTS_POST = HOST + "/portal/api/getPostDetail";

	public static final String Ctrl_host_host = "http://" + WEBSERVER + ":8080";

}
